<?php

class Control_Projects_Categories extends QUI_Control_Abstract
{
    function render()
    {
        $this->_view['categories'] = ProjectCategory::find()->order('order_pos DESC')->getAll();
        return $this->_fetchView(dirname(__FILE__) . '/categories_view.php');
    }

}

